package org.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "sso")
public class SsoConfig {
    private List<Client> clients;

    @Data
    public static class Client {
        private String clientId;
        private String clientSecret;
        private String redirectUri;
    }
}